import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useMaskStore = defineStore('mask', () => {
  const isMaskShow = ref(false)
  const toggleMask = () => {
    isMaskShow.value = !isMaskShow.value
  }
  const showChildView = ref(true)
  return { toggleMask, isMaskShow, showChildView }
})
